<?php
$this->breadcrumbs=array(
	'Users'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List User', 'url'=>array('index')),
	array('label'=>'Create User', 'url'=>array('create')),
	array('label'=>'Update User', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete User', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage User', 'url'=>array('admin')),
);
?>

<h1>View User #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'FirstName',
		'LastName',
		'userName',
		'Password',
		'email',
		'Status',
		array(
			'name' => 'Password Change Date',
			'value' => (($model->PasswordChangeDate)?date("d M, Y H:i:s",$model->PasswordChangeDate):'Not Available'),
		),
		array(
			'name' => 'last visit',
			'value' => (($model->lastvisite)?date("d M, Y H:i:s",$model->lastvisite):'Not visited'),
		),
		array(
			'name' => 'Join',
			'value' => date("d M, Y H:i:s",$model->createTime),
		)
	),
)); ?>
